---
title: Flip Text
date: 2024-05-23
description: Text flipping character animation
author: wellitsabhi
published: true
---

<ComponentPreview name="flip-text-demo" />

<Steps>

### Installation

Copy and paste the following code into your project.

```text
components/magicui/flip-text.tsx
```

<ComponentSource name="flip-text" />

</Steps>

## Props

| Prop          | Type            | Description                                        | Default |
| ------------- | --------------- | -------------------------------------------------- | ------- |
| className     | string          | The class name to be applied to the component      |         |
| duration      | number          | The class name to be applied to the shimmer.       | 0.2     |
| delayMultiple | number          | The class name to be applied to the shimmer.       | 0.08    |
| word          | string          | An array of words to rotate through                | ""      |
| framerProps   | HTMLMotionProps | An object containing framer-motion animation props | {}      |
